﻿namespace WMS6.Web.BaseInfoServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="DistributionRangeQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity")]
    public class DistributionRangeQueryEntity : BaseQuery
    {
        [OptionalField]
        private string AlternateCarrierIDField;
        [OptionalField]
        private string CarrierIDField;
        [OptionalField]
        private string CityField;
        [OptionalField]
        private string ContinuousWeightField;
        [OptionalField]
        private string ContinuousWeightPriceField;
        [OptionalField]
        private string CountiesField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string DistrictField;
        [OptionalField]
        private string InitialWeightField;
        [OptionalField]
        private string InitialWeightPriceField;
        [OptionalField]
        private string ProvinceField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string WhIDField;

        [DataMember]
        public string AlternateCarrierID
        {
            get
            {
                return this.AlternateCarrierIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AlternateCarrierIDField, value))
                {
                    this.AlternateCarrierIDField = value;
                    base.RaisePropertyChanged("AlternateCarrierID");
                }
            }
        }

        [DataMember]
        public string CarrierID
        {
            get
            {
                return this.CarrierIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CarrierIDField, value))
                {
                    this.CarrierIDField = value;
                    base.RaisePropertyChanged("CarrierID");
                }
            }
        }

        [DataMember]
        public string City
        {
            get
            {
                return this.CityField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CityField, value))
                {
                    this.CityField = value;
                    base.RaisePropertyChanged("City");
                }
            }
        }

        [DataMember]
        public string ContinuousWeight
        {
            get
            {
                return this.ContinuousWeightField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ContinuousWeightField, value))
                {
                    this.ContinuousWeightField = value;
                    base.RaisePropertyChanged("ContinuousWeight");
                }
            }
        }

        [DataMember]
        public string ContinuousWeightPrice
        {
            get
            {
                return this.ContinuousWeightPriceField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ContinuousWeightPriceField, value))
                {
                    this.ContinuousWeightPriceField = value;
                    base.RaisePropertyChanged("ContinuousWeightPrice");
                }
            }
        }

        [DataMember]
        public string Counties
        {
            get
            {
                return this.CountiesField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CountiesField, value))
                {
                    this.CountiesField = value;
                    base.RaisePropertyChanged("Counties");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string District
        {
            get
            {
                return this.DistrictField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DistrictField, value))
                {
                    this.DistrictField = value;
                    base.RaisePropertyChanged("District");
                }
            }
        }

        [DataMember]
        public string InitialWeight
        {
            get
            {
                return this.InitialWeightField;
            }
            set
            {
                if (!object.ReferenceEquals(this.InitialWeightField, value))
                {
                    this.InitialWeightField = value;
                    base.RaisePropertyChanged("InitialWeight");
                }
            }
        }

        [DataMember]
        public string InitialWeightPrice
        {
            get
            {
                return this.InitialWeightPriceField;
            }
            set
            {
                if (!object.ReferenceEquals(this.InitialWeightPriceField, value))
                {
                    this.InitialWeightPriceField = value;
                    base.RaisePropertyChanged("InitialWeightPrice");
                }
            }
        }

        [DataMember]
        public string Province
        {
            get
            {
                return this.ProvinceField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ProvinceField, value))
                {
                    this.ProvinceField = value;
                    base.RaisePropertyChanged("Province");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

